# for x in range(0,10):
#     print(x)

# for x in range(0, 10, 2):
#     print(x, end='|')

# 递减
for x in range(10, 0, -2):
    print(x, end='|')